import {View} from '@tarojs/components';
import Taro from '@tarojs/taro';
import './prompt.scss';

class Prompt extends Taro.Component {
    config = {
        component: true,
        componentGenerics: {
            Prompt: true
        }
    };

    render() {
        const {prompt} = this.props;
        return (
            <View className="currency-detail">
                <View className='at-row currency-detail-title'>
                    <View className='at-col title-border'/>
                    <View className='at-col title-center'>{prompt}</View>
                    <View className='at-col title-border'/>
                </View>
            </View>
        )
    }
}

export default Prompt;

